package handler

import "gitee.com/DonHz/simple-blog-system/model"

type UserHandler struct {
	dao model.GormUserDAO
}

func NewUserHandler(dao model.GormUserDAO) *UserHandler {
	return &UserHandler{
		dao: dao,
	}
}

type ArticleHandler struct {
	dao model.GormArticleDAO
}

func NewArticleHandler(dao model.GormArticleDAO) *ArticleHandler {
	return &ArticleHandler{
		dao: dao,
	}
}
